package com.dodo.blog.ui.component.input;

import com.dodo.blog.ui.component.container.Container;

/**
 * @author <a href="mailto:pohorelec@comvai.com">Jozef Pohorelec</a>
 */
public class SubmitButton
        extends Container
{
    private static final long serialVersionUID = 1L;

    public SubmitButton( String id, String text )
    {
        super( Tag.BUTTON );
        setId( id );
        setInnerHtml( text );
        setAttribute( "type", InputComponent.InputType.SUBMIT.getName() );
    }
}